<?php
/**
 * --------------------------------------------------------------
 * 栏目模型
 * --------------------------------------------------------------
 * Light Year Doc
 * @author yinq<3331653644@qq.com>
 * --------------------------------------------------------------
 */
namespace app\admin\validate;

use think\Validate;

class Column extends Validate
{
    // 定义验证规则
    protected $rule = [
        'title|栏目名称'    => 'require|unique:column',
        'model_id|内容模型' => 'require',
    ];
}